var str = require('../templates/index.string')
var list = require('../templates/position.string')
var position = require('./modules/position')

window.onload = function () {
  var body = document.body
  body.innerHTML = str + body.innerHTML
  var section = document.querySelector('.m-index section')
  section.innerHTML = list

  position.doScroll()
}
